﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EvidenceLib.Base;
using EvidenceLib.Core;

namespace EvidenceLib.Case
{
    /// <summary>
    /// 物品分录
    /// </summary>
    public class Evidence:IKey
    {
        public virtual int Id { get; set; }

        /// <summary>
        /// 单据
        /// </summary>
        //public virtual EvidenceBill Bill { get; set; }
        /// <summary>
        /// 关联单据Id
        /// </summary>
        public virtual int BillId { get; set; }
        /// <summary>
        /// 物品类型
        /// </summary>
        public virtual EvidenceType EvidenceType { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public virtual string Name { get; set; }
        /// <summary>
        /// 型号
        /// </summary>
        public virtual string Model { get; set; }
        /// <summary>
        /// 物品序列号
        /// 枪支等信息
        /// </summary>
        public virtual string SerialNo { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public virtual double Qty { get; set; }
        /// <summary>
        /// 当前在库数量
        /// </summary>
        public virtual double StockQty { get; set; }
        /// <summary>
        /// 出库数量
        /// </summary>
        public virtual double OutStockQty { get; set; }
        /// <summary>
        /// 调查出库数量
        /// </summary>
        public virtual double InquiryOutStockQty { get; set; }
        /// <summary>
        /// 计量单位
        /// </summary>
        public virtual UM UM { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public virtual double Price { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public virtual double Amount { get; set; }
        /// <summary>
        /// 特征描述
        /// </summary>
        public virtual string Feature { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public virtual string Description { get; set; }
        /// <summary>
        /// 所有人
        /// </summary>
        public virtual Person Owner { get; set; }
        /// <summary>
        /// 所有人姓名
        /// </summary>
        public virtual string OwnerName { get; set; }
        /// <summary>
        /// 所有人联系方式
        /// </summary>
        public virtual string OwnerContact { get; set; }
        /// <summary>
        /// 所有人联系地址
        /// </summary>
        public virtual string OwnerAddress { get; set; }
        /// <summary>
        /// 扣押来源
        /// </summary>
        public virtual Origin Origin { get; set; }
        /// <summary>
        /// 扣押天数
        /// </summary>
        public virtual int SeizureDay { get; set; }

        #region 车辆信息
        /// <summary>
        /// 厂商
        /// </summary>
        public virtual string VehicleFactory { get; set; }
        /// <summary>
        /// 铭牌
        /// </summary>
        public virtual string VehicleNameplate { get; set; }
        /// <summary>
        /// 颜色
        /// </summary>
        public virtual string VehicleColor { get; set; }
        /// <summary>
        /// 使用性质
        /// </summary>
        public virtual string VehicleUsage { get; set; }
        /// <summary>
        /// 识别代码
        /// </summary>
        public virtual string VehicleIdCode { get; set; }
        /// <summary>
        /// 发动机代码
        /// </summary>
        public virtual string VehicleEngineIdCode { get; set; }
        /// <summary>
        /// 发证机关
        /// </summary>
        public virtual string VehicleLicenceAuthority { get; set; }
        /// <summary>
        /// 车牌号码
        /// </summary>
        public virtual string VehicleNo { get; set; }


        #endregion

        

    }
}
